package com.cmict.data.bpm.dal.dataobject.task;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cmict.data.framework.mybatis.core.dataobject.BaseDO;
import lombok.*;

/**
 * 流程用户消息 DO
 *
 * @author liutao
 */
@TableName("bpm_task_carbon")
@KeySequence("bpm_task_carbon_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TaskCarbonDO extends BaseDO {
    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 流程定义ID
     */
    private String processDefinitionId;
    /**
     * 流程定义名称
     */
    private String processDefinitionName;
    /**
     * 流程实例ID
     */
    private String processInstanceId;

    /**
     * 流程定义key
     */
    private String taskId;

    private String taskName;

    /**
     * 阅读状态，0:未阅读 1:已阅读
     */
    private Boolean status;

    private Long startUserId;
}
